package com.atguigu.edu.realtime.common;

public class Constant {
    public static final int USER_BACK_FLAG_DAY = 7;

    // Doris 数据库名
    public static final String DORIS_SCHEMA = "edu";
    // Doris URL
    public static final String DORIS_URL = "jdbc:mysql://39.108.149.44:9030/edu?user=root&password=aaaaaa";
    // Doris驱动名
    public static final String DORIS_DRIVER = "com.mysql.cj.jdbc.Driver";
    public static final String DORIS_HOST = "hadoop162:7030";
    public static final String DORIS_USER = "root";
    public static final String DORIS_PASSWORD = "aaaaaa";


    public static final String HDFS_OF_EDU = "hdfs://hadoop162:8020/edu/";

    public static final String KAFKA_BROKERS = "hadoop162:9092,hadoop163:9092,hadoop164:9092";
    public static final String TOPIC_ODS_DB = "ods_db";
    public static final String TOPIC_ODS_LOG = "ods_log";

    public static final String MYSQL_HOST = "hadoop162";
    public static final String MYSQL_USERNAME = "root";
    public static final String MYSQL_PASSWORD = "aaaaaa";

    public static final String PHOENIX_DRIVER = "org.apache.phoenix.jdbc.PhoenixDriver";
    public static final String PHOENIX_URL = "jdbc:phoenix:hadoop102,hadoop103,hadoop104:2181";

    public static final String TOPIC_DWD_USER_REGISTER = "dwd_user_register";
    public static final String TOPIC_DWD_USER_CART_ADD = "dwd_user_cart_add";
    public static final String TOPIC_DWD_TRADE_ORDER_DETAIL = "dwd_trade_order_detail";
    public static final String TOPIC_DWD_TRADE_PAY_SUC = "dwd_trade_pay_suc";




}
